package contest.oop.sse.key;

import java.security.PrivateKey;
import java.security.PublicKey;

public class DbKeyLoader implements KeyLoader {
    private PrivateKey privateKey;
    private PublicKey publicKey;

    public DbKeyLoader(String connectString) {
        System.out.println("Open database...");
    }

    @Override
    public PrivateKey obtainPrivateKey(String keyId) {
        return privateKey;
    }

    @Override
    public PublicKey obtainPublicKey(String keyId) {
        return publicKey;
    }
}
